﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using VOL.Core.EFDbContext;
using Microsoft.AspNetCore.Authorization;
using VOL.Order.IServices;
using VOL.Order.IRepositories;

namespace VOL.WebApi.Controllers
{
    [AllowAnonymous]
    public class ApiHomeController : Controller
    {
        private readonly ISellOrderService _orderService;
        private readonly ISellOrderRepository _orderRepository;

        public ApiHomeController(ISellOrderService orderService, ISellOrderRepository orderRepository)
        {
            _orderRepository = orderRepository;
            _orderService = orderService;
        }
        public IActionResult Index()
        {

            return new RedirectResult("/swagger/");
        }

    }
}